﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DemoForSnake
{
    /// <summary>
    /// 砖块类
    /// </summary>
    class Brick
    {
        public Point Point { get; set; }
        public Rectangle Rectangle { get; set; }
        public Brick(Rectangle rec)
        {
            //初始化
            Rectangle = rec;
        }
        public void Draw(Graphics g, Rectangle _rec)
        {

            g.DrawImage(Properties.Resources.StoneBrick, _rec);

        }
    }
}
